<?php
$title = "Buy cheap " . $product->title . " at Black Friday 2012 on Amazon";
$img = $product->large_image_link;

$html = "<div class='product'>";
$html .= "<div class='product-image'> 
			<a rel='nofollow' href='" . $product->link . "' class='buy-link' value='" . $product->link . "'>
			<img src='" . $img . "' title='" . $title . "' alt='" . $title . "' />
			</a>"
		."</div>";
$html .= "<div class='product-price'>"
		."<div class='product-rating'> 
				<span class='rating-" . $product->rating . "'>". $product->rating . " stars rating | 
				<a rel='nofollow' title='See more reviews' href='" . $product->reviews_link . "'> " . $product->reviews . " user reviews  </a> </span> 
			</div>"
		. "<p>List price: <span class='list-price'>" . $product->list_price . "</span></p>" 
		. "<p>Sale price: <span  class='price'>" . $product->sale_price . "</span></p>"
		. "<span class='saving'>You save: " . $product->savings . "</span>"
		. "<span class='discimg-" . round($product->saving_percent) . "'></span>"
		."</div>";
$html .= "<h3> Click to " . $title . " </h3>";
$html .= "<div class='product-link'>"
		. "<a rel='nofollow' title='" . $title . "' alt='" . $title . "' href='". $product->link ."' class='buy-link' ></a>"
		. "</div>";
		
$html .= "</hr><div class='product-desc'>" . "<h3>" . $product->title . " key features</h3>"				
	. $product->desc ."</div>";
echo $html;
?>